﻿using CommonLibrary;
using CommonSite.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace CommonSite.Areas.Admin.Controllers
{
    [AdminAuthorizeAttribute]
    public class HomeController : Controller
    {
        //
        // GET: /Admin/Home/
        public ActionResult Index()
        {
            this.ViewBag.User = UserAction.GetCurrentUser();
            return View();
        }

        [ChildActionOnly]
        public PartialViewResult Accordion()
        {
            return PartialView();
        }

        public ActionResult Users() 
        {
            return View();
        }

        public ActionResult Roles()
        {
            return View();
        }

        public ActionResult Positions()
        {
            return View();
        }

        public ActionResult Orgs()
        {
            return View();
        }

        public ActionResult UserOrgPositions()
        {
            return View();
        }
    }
}
